package com.xyht.sca_s.student_manage_system.modules.news.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyht.sca_s.student_manage_system.modules.news.entity.SmsNews;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author XYHT
 * @since 2022-12-08
 */
@Component(value = "SmsNewsMapper")
public interface SmsNewsMapper extends BaseMapper<SmsNews> {
    String selectUserNameById(String newsId);

    Integer updateView(@Param("view") Integer view, @Param("id")String id);
}
